package com.jiukuaidao.zhulin.module.address.contract;

import com.jiukuaidao.library.base.IBasePresenter;
import com.jiukuaidao.library.base.IBaseView;

import java.util.List;
import java.util.Map;

/**
 * Author : PaiTaSuo
 * Date : 2016/5/31
 * Description :
 */
public interface GainPlaceContract {
    interface Presenter extends IBasePresenter {
        void startGeoCoderSearch();

        void startSuggestionSearch();
    }

    interface View extends IBaseView<Presenter> {
        double getLongitude();

        double getLatitude();

        String getQuery();

        /**
         * 城市
         * @return
         */
        String getRegion();

        /**
         * 城市ID
         * @return
         */

        String getCityCode();

        void placeList(List<Map<String, String>> list, String type);

    }
}
